from flask import Flask
from app.api.v1.endpoints.users import router as users_router

def create_app():
    app = Flask(__name__)

    # 注册 Blueprint
    app.register_blueprint(users_router, url_prefix='/users')

    return app
